package yunplus.io.hchome.display.view;

import android.support.annotation.Nullable;

import com.alibaba.fastjson.JSONObject;

import java.util.Map;

/**
 * Created by yfsoft on 2016/12/16.
 */

public interface IWebAppView {

    String INTENT_EXTRA_KEY_DOMAIN = "KEY_SERVER_DOMAIN";

    String INTENT_EXTRA_KEY_LAN = "KEY_SERVER_LAN";

    void logout();

    /**
     * 已登录的进入
     * @param user
     */
    void onLoaded(@Nullable JSONObject user);

    /**
     * 未登陆的进入
     */
    void onLoaded();
}
